/*
 * Copyright (C) 2017-2021
 * All rights reserved, Designed By
 * Copyright authorization contact 18814114118
 */
package com.shop.cereshop.app.page.product;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 商品评论数据
 */
@Data
@ApiModel(value = "BuyerComment", description = "商品评论数据")
public class BuyerComment {

    @ApiModelProperty(value = "评论id")
    private Long commentId;

    @ApiModelProperty(value = "商家名称")
    private String shopName;

    @ApiModelProperty(value = "用户id")
    private Long buyerUserId;

    @ApiModelProperty(value = "客户名称")
    private String name;

    @ApiModelProperty(value = "客户头像")
    private String headImage;

    private String image;

    private String addImage;

    @ApiModelProperty(value = "图片数据")
    private List<String> images;

    @ApiModelProperty(value = "图片数据")
    private List<String> addImages;

    @ApiModelProperty(value = "评论内容")
    private String comment;

    @ApiModelProperty(value = "追加评论内容")
    private String addComment;

    @ApiModelProperty(value = "评论时间")
    private String createTime;

    private String value;

    @ApiModelProperty(value = "规格值数组")
    private List<String> values;

    @ApiModelProperty(value = "是否点赞 1-是 0-否")
    private Integer ifLike=0;

    @ApiModelProperty(value = "点赞人数")
    private Integer likes;

    @ApiModelProperty(value = "商品满意度 1-一星 2-二星 3-三星 4-四星 5-五星")
    private Integer star;

    @ApiModelProperty(value = "评论发布时间(时间戳)")
    private Long publishTime;

}
